package la.iok.hzsvn.lewin.movie.cloud.entity;

import java.util.Date;

/**
 * 设备，如PC服务器或者PAD
 */
public class Device {
    private Long id;
    /**
     * 设备名称
     */
    private String name;
    /**
     * 设备唯一码
     */
    private String code;
    /**
     * 所属组织
     */
    private Long orgUnitId;
    /**
     * 房间id
     */
    private Long roomId;
    /**
     * 注册时间
     */
    private Date registerTime;

    public Device() {
    }

    public Device(String name, String code) {
        this.name = name;
        this.code = code;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Long getOrgUnitId() {
        return orgUnitId;
    }

    public void setOrgUnitId(Long orgUnitId) {
        this.orgUnitId = orgUnitId;
    }

    public Long getRoomId() {
        return roomId;
    }

    public void setRoomId(Long roomId) {
        this.roomId = roomId;
    }

    public Date getRegisterTime() {
        return registerTime;
    }

    public void setRegisterTime(Date registerTime) {
        this.registerTime = registerTime;
    }
}
